﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Back/Shared/BackBBSSite.Master" 
Inherits="System.Web.Mvc.ViewPage<Wwtfly.BBS.BackModels.ViewModels.Plays.PlaysShowsViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Edit</h2>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>
        
        <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.Id) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.Id) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.LotteryID)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.LotteryID)%>
              
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.PlayNo)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.PlayNo)%>
          
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.PlayName)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.PlayName)%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.StartTime)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.StartTime, String.Format("{0:g}", Model.PlaysShows.StartTime))%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.EndTime)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.EndTime, String.Format("{0:g}", Model.PlaysShows.EndTime))%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.WinLotteryNumber)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.WinLotteryNumber)%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.StateUpdatetime)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.StateUpdatetime, String.Format("{0:g}", Model.PlaysShows.StateUpdatetime))%>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.PlaysShows.PlayState)%>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.PlaysShows.PlayState)%>
            </div>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%= Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

